package com.ebupt.migu.music.label.entity;

import lombok.Getter;
import lombok.Setter;

/**
 * @description: 客群静态标签规则明细上报
 * @author: liuyangyang@ebupt.com
 * @date: 2021/9/6 13:42
 */
@Setter
@Getter
public class LabelCustomerDetailRequestBean{

    /**
     * 客群ID
     */
    private String customerId;

    /**
     * 是否标签客群
     * 0- 否；
     * 1- 是；
     */
    private String isLabelCustomer;

    /**
     * 客群规则明细
     */
    private String data;

    /**
     * 0 - 非实时运营的客群；
     * 1 - 实时运营的客群；
     */
    private String realTime;

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("{");
        sb.append("\"customerId\":\"")
                .append(customerId).append('\"');
        sb.append(",\"isLabelCustomer\":\"")
                .append(isLabelCustomer).append('\"');
        sb.append(",\"data\":\"")
                .append(data).append('\"');
        sb.append(",\"realTime\":\"")
                .append(realTime).append('\"');
        sb.append('}');
        return sb.toString();
    }
}
